package com.datang.pet.mapper;

import com.datang.pet.pojo.TalkSearchRecord;
import com.datang.pet.pojo.TalkSearchRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TalkSearchRecordMapper {
    long countByExample(TalkSearchRecordExample example);

    int deleteByExample(TalkSearchRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(TalkSearchRecord record);

    int insertSelective(TalkSearchRecord record);

    List<TalkSearchRecord> selectByExample(TalkSearchRecordExample example);

    TalkSearchRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TalkSearchRecord record, @Param("example") TalkSearchRecordExample example);

    int updateByExample(@Param("record") TalkSearchRecord record, @Param("example") TalkSearchRecordExample example);

    int updateByPrimaryKeySelective(TalkSearchRecord record);

    int updateByPrimaryKey(TalkSearchRecord record);
}